﻿<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>收费员交款</title>
    <link href="../../../../WebPlugin/jquery-easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../../../WebPlugin/jquery-easyui/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../../../../WebPlugin/jquery-easyui/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../../../../WebPlugin/jquery-easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../../WebPlugin/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script src="../../../../WebPlugin/jquery-easyui/JQueryCommon.js" type="text/javascript"></script>
    <script src="../../PageJS/Cost/AccountManager.js" type="text/javascript"></script>
</head>
<body class="easyui-layout">
		<div region="north" style="height:40px; padding:2px;">
			<table id="formaccount" width=100%>
		        <tr>
		            <td style="width:60px;">总现金:</td>
			        <td style="width:100px;"><input id="txtTotal" class="easyui-numberbox" disabled="true" precision=2 style="width:100px; text-align:right; color:Blue;font-size:18px; font-weight: bold;" type="text" required="true"></input></td>
			        <td style="width:60px;">存银行:</td>
			        <td style="width:100px;"><input id="txtBankMoney" class="easyui-numberbox" precision=0 style="width:100px; text-align:right; color:Blue;font-size:18px; font-weight: bold;" type="text" required="true"></input></td>
			        <td style="width:60px;">剩现金:</td>
			        <td style="width:100px;"><input id="txtBanksurplus" class="easyui-numberbox" disabled="true" precision=2 style="width:100px; text-align:right; color:Blue;font-size:18px; font-weight: bold;" type="text" required="true"></input></td>
			        <td style="width:100px;"><a href="#" class="easyui-linkbutton" iconCls="icon-ok" onclick="btn_Account();">交款</a></td>
			        <td style="width:100px;"><a href="#" class="easyui-linkbutton" iconCls="icon-reload" onclick="InitLoadData();">刷新</a></td>
			        <td style="text-align:right;padding-right:2px">今日住宅入伙户数:<a id="RoomJoinNum" style="color: #0000FF" ></a>    今日车库入伙车位数:<a id="CarportJoinNum" style="color: #0000FF" ></a></td>
		        </tr>
	        </table>
		</div>
		<div region="center"  style="overflow:hidden;">
		    <div class="easyui-layout" fit="true" >
		        <div region="west" title="收银记录" split="true" style="width:500px;padding:2px;" border="false" >
		            <table id="chargelistGrid"class="easyui-datagrid" fit="true" border="false" showFooter="true" rownumbers="true"  iconCls="icon-edit">
	                    <thead>
			                    <tr>
				                    <th field="OwnerName" width="100">操作员/业主姓名</th>
				                    <th field="SrccName" width="100" >名称</th>
				                    <th field="Lastsurplus" width="80" >上次余额</th>
				                    <th field="ReceivableFee" width="80" >应收金额</th>
				                    <th field="FavourFee" width="80" >优惠金额</th>
				                    <th field="RealityFee" width="80" >实收金额</th>
				                    <th field="Thissurplus" width="80" >本次余额</th>
				                    <th field="ChargeFlag" width="100" >正常/取消</th>
				                    <th field="ChargeDate" width="100" >收银时间</th>
			                    </tr>
	                    </thead>
	                </table>
		        </div>
		        <div region="center" border="false" title="项目分类明细">
				  <table id="itemlistGrid"class="easyui-treegrid" idField="id" treeField="ItemName" fit="true" border="false" showFooter="true" rownumbers="true"  iconCls="icon-edit">
	                    <thead>
			                    <tr>
				                    <th field="ItemName" width="120" >收费项目</th>
				                    <th field="RealityFee" width="80" >合计金额</th>
				                    <th field="backfee" width="80" >其中退款</th>
				                    <th field="favourfee" width="80" >其中优惠</th>
			                    </tr>
	                    </thead>
	                </table>
	             </div>
	        </div>
		</div>
</body>
</html>
